// src/composables/useEcharts.js
import * as echarts from 'echarts';

export function useEcharts(element) {
  const chart = echarts.init(element);
  return chart;
}
export const echartsObj = echarts